<?php

if ( ! defined("IN_OP") )
{
    exit("You can't access this file directly...");
}
if ( check_upid_mode($curruser['id']) == 0 )
{
    exit("You can't access this file directly...");
}
if ( isset($_GET['ok']) && $_GET['ok'] == 1 )
{
    $_SESSION['confirm'] = 1;
}
else if ( ! isset($_SESSION['confirm']) )
{
    redirect("op.php?op=member&fp=confirm");
}
$ui = new UI(false);
$tpl = new Template_Member();
$tpl->load("main" , "index.tpl");
$tpl->set("disk" , $curruser['disk']);
$tpl->show("main");